const mongoose = require('../../mongoose')

const serviceSchema = mongoose.Schema({
  // id: {
  //   type: String
  // },
  name: String,
  contact: String,
  address: String,
  yixiang: String,
  problem: String,
  datetime: {
    type: Date,
    default: Date.now
  },
  ip: String
})

module.exports = mongoose.model('service', serviceSchema)
